<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of usuario_model
 *
 * @author Neil
 */
class usuario_model extends CI_Model {

    public function logeo_personal($username, $password) {
        $data = array(
            'usuario' => $username,
            'clave' => $password
        );

        $query = $this->db->get_where('personal', $data);
        return $query->result_array();
    }

}

?>
